package com.exam.sacrifice.ui.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.exam.sacrifice.R;
import com.exam.sacrifice.ui.bean.BaiJiaXingInfo;

public class FenBuZhanBiAdapter extends BaseQuickAdapter<BaiJiaXingInfo, BaseViewHolder> {

    private OnItemClickListener listener;

    public void setOnItemClickListener(OnItemClickListener onItemClickListener) {
        listener = onItemClickListener;
    }

    public FenBuZhanBiAdapter() {
        super(R.layout.item_layout_fenbuzhanbi, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, BaiJiaXingInfo item) {

        helper.setText(R.id.tv_name, item.name);
    }
}
